package io.bhex.baselib.utils;

import android.util.Log;

public class LongLog {
    public static String TAG="-----LongLog-----";
    public  static void  loge(String tag,String str){
        int max_str_length=2001-tag.length();
        //大于4000时
        while (str.length()>max_str_length){
            Log.e(tag, str.substring(0,max_str_length) );
            str=str.substring(max_str_length);
        }
        //剩余部分
        Log.e(tag, str );
    }

}
